#pragma once

#include <QObject>
#include <QTcpServer>
#include <QTcpSocket>
#include <QTime>
#include <QDate>
#include "FrameStruct.h"

class QtDataProvider_TCP : public QObject
{
	Q_OBJECT

public:
	QtDataProvider_TCP(QObject *parent = 0);
	~QtDataProvider_TCP();

	QTcpServer* DataSender;
	QTcpSocket* currentSocket;

public:
	void QtSleep(int ms);
	QByteArray CreatFrame();

public slots:
	void senddata();
};
